Academy\Frontend\Template\Block B

Total Complexity 80
Dependencies 7
Dependents 1
Total lines 416
Lines of code 318
Logical lines of code 191
Comment lines 36
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
add_block_templates()
A
46 13 35
build_template_result_from_post()
A
43 10 44
build_template_result_from_file()
A
45 10 36
get_block_templates_from_academylms()
S
53 6 24
inject_theme_attribute_in_content()
S
54 6 22
get_block_file_template()
S
54 5 21
flatten_blocks()
S
56 5 20
create_new_block_template_object()
S
58 4 15
get_block_templates_from_db()
S
52 3 25
get_template_paths()
S
62 3 11
convert_slug_to_title()
S
64 3 10
block_template_is_available()
S
67 3 7
get_block_template_title()
S
66 2 8
get_block_template_description()
S
69 2 7
get_plugin_block_template_types()
S
61 1 13
generate_template_slug_from_path()
S
75 1 4
get_templates_fils_from_academylms()
S
73 1 5
get_block_templates()
S
70 1 6
init()
S
71 1 5